﻿namespace UnityEditor
{
    using System;
    using System.Collections;
    using UnityEngine;

    internal class AnimationHierarchyData
    {
        public AnimationSelection animationSelection;
        public AnimationWindow animationWindow;
        public FoldoutObjectState[] states;

        public GameObject animated
        {
            get
            {
                return this.animationSelection.animatedObject;
            }
        }

        public Hashtable animatedCurves
        {
            get
            {
                return this.animationSelection.animatedCurves;
            }
        }

        public Hashtable animatedPaths
        {
            get
            {
                return this.animationSelection.animatedPaths;
            }
        }

        public AnimationClip clip
        {
            get
            {
                return this.animationSelection.clip;
            }
        }

        public SerializedStringTable expandedFoldouts
        {
            get
            {
                return this.animationWindow.expandedFoldouts;
            }
            set
            {
                this.animationWindow.expandedFoldouts = value;
            }
        }

        public Hashtable leftoverCurves
        {
            get
            {
                return this.animationSelection.leftoverCurves;
            }
        }

        public bool showAllProperties
        {
            get
            {
                return this.animationWindow.showAllProperties;
            }
        }
    }
}

